﻿<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true"
    CodeFile="User.aspx.cs" Inherits="Admin_CreateUserName" %>

<asp:Content ID="Content1" ContentPlaceHolderID="titlePlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="menuPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="contentPlaceHolder" runat="Server">
    <div style="padding-left: 7px">
        <table width="50%">
            <tr>
                <td>
                    <%=Utilitys.Dictionary["UserName"]%>
                    <span style="color: #ff0000">(<span>*</span>)</span></td>
                <td style="width: 413px">
                    <asp:TextBox autocomplete="off" ID="txtUserName" runat="server" Width="193px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtUserName"><%=Utilitys.Dictionary["InvalidUserName"]%></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td>
                    <%=Utilitys.Dictionary["FullName"]%>
                    <span style="color: #ff0000">(<span>*</span>)</span></td>
                <td style="width: 413px">
                    <asp:TextBox autocomplete="off" ID="txtFullname" runat="server" Width="193px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtFullname"><%=Utilitys.Dictionary["InvalidFullName"]%></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td>
                    <%=Utilitys.Dictionary["Password"]%>
                    <span style="color: #ff0000">(<span>*</span>)</span></td>
                <td style="width: 413px">
                    <asp:TextBox autocomplete="off" ID="txtPassword" runat="server" TextMode="Password"
                        Width="193px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtPassword"><%=Utilitys.Dictionary["InvalidPassword"]%></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td>
                    <%=Utilitys.Dictionary["Retpyepassword"]%>
                    <span style="color: #ff0000">(<span>*</span>)</span>
                </td>
                <td style="width: 413px">
                    <asp:TextBox autocomplete="off" ID="txtRetypePassword" runat="server" TextMode="Password"
                        Width="193px"></asp:TextBox>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtPassword"
                        ControlToValidate="txtRetypePassword"><%=Utilitys.Dictionary["InvalidRetpyePassword"]%></asp:CompareValidator></td>
            </tr>
            <tr>
                <td style="height: 26px;">
                    <%=Utilitys.Dictionary["Email"]%>
                    <span style="color: #ff0000">(<span>*</span>)</span></td>
                <td style="height: 26px; width: 413px;">
                    <asp:TextBox autocomplete="off" ID="txtEmail" runat="server" Width="194px"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                        ControlToValidate="txtEmail"><%=Utilitys.Dictionary["InvalidEmail"]%></asp:RegularExpressionValidator></td>
            </tr>
            <tr>
                <td>
                    <%=Utilitys.Dictionary["Address"]%>
                    <span style="color: #ff0000">(<span>*</span>)</span></td>
                <td style="width: 413px">
                    <asp:TextBox autocomplete="off" ID="txtAddress" runat="server" Width="195px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtAddress"><%=Utilitys.Dictionary["InvalidAddress"]%></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td style="height: 26px;">
                    <%=Utilitys.Dictionary["Tel"]%>
                </td>
                <td style="height: 26px; width: 413px;">
                    <asp:TextBox autocomplete="off" ID="txtTel" runat="server" Width="196px"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="Regularexpressionvalidator6" runat="server" ControlToValidate="txtTel"
                        ValidationExpression="^[0-9,.,#]+$"><%=Utilitys.Dictionary["InvalidTel"]%></asp:RegularExpressionValidator></td>
            </tr>
            <tr>
                <td>
                    <%=Utilitys.Dictionary["Cell"]%>
                </td>
                <td style="width: 413px">
                    <asp:TextBox autocomplete="off" ID="txtCell" runat="server" Width="196px"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="Regularexpressionvalidator7" runat="server" ControlToValidate="txtCell"
                        ValidationExpression="^[0-9,.,#]+$"><%=Utilitys.Dictionary["InvalidCell"]%></asp:RegularExpressionValidator></td>
            </tr>
            <tr>
                <td>
                    <%=Utilitys.Dictionary["Enable"]%>
                    <span style="color: #ff0000"></span>
                </td>
                <td style="width: 413px">
                    <asp:CheckBox ID="ckbEnable" runat="server" /></td>
            </tr>
            <tr>
                <td>
                    <%=Utilitys.Dictionary["Description"]%>
                </td>
                <td style="width: 413px">
                    <asp:TextBox ID="txtDescription" runat="server" Height="71px" MaxLength="200" TextMode="MultiLine"
                        Width="404px"></asp:TextBox></td>
            </tr>
            <tr>
                <td>
                    <asp:Button ID="btnsave" runat="server" CssClass="bbutton" OnClick="btnsave_Click" Width="116px" />
                </td>
                <td style="width: 413px">
                    <asp:Button ID="btnexit" runat="server" CssClass="bbutton" OnClick="btnexit_Click" CausesValidation="False"
                        Width="105px" /></td>
            </tr>
        </table>
        <br />

        <script type="text/javascript">
        var j = document.getElementById("<%=btnsave.ClientID%>");
        j.value = "<%=Utilitys.Dictionary["Save"]%>";
        var h = document.getElementById("<%=btnexit.ClientID%>");
        h.value = "<%=Utilitys.Dictionary["Cancel"]%>";
        </script>

    </div>
</asp:Content>
